package com.xxx.mall.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xxx.mall.model.BaseDO;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 品牌分类关联信息
 * </p>
 *
 * @author 邢晨旭
 * @since 2023-11-15
 */
@Getter
@Setter
@TableName("category_brand")
public class CategoryBrand extends BaseDO {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 品牌id
     */
    @TableField("brand_id")
    private Long brandId;

    /**
     * 分类id
     */
    @TableField("category_id")
    private Long categoryId;
}
